export VUE_API_URL=https://mini.0932jiehun.com
# export RELATIVE_PATH=`dirname $0`

yarn mp

# copy file
# if [ ! -d "./dist/mp/pages/product_detail" ]; then # 如果存在的话
#     mkdir ./dist/mp/pages/product_detail
# fi
# cp ./dist/mp/pages/main/index.js ./dist/mp/pages/product_detail/main.js
# cp ./dist/mp/pages/main/index.json ./dist/mp/pages/product_detail/main.json
# cp ./dist/mp/pages/main/index.wxml ./dist/mp/pages/product_detail/main.wxml
# cp ./dist/mp/pages/main/index.wxss ./dist/mp/pages/product_detail/main.wxss

# if [ ! -d "./dist/mp/pages/pkg_detail" ]; then # 如果存在的话
#     mkdir ./dist/mp/pages/pkg_detail
# fi
# cp ./dist/mp/pages/main/index.js ./dist/mp/pages/pkg_detail/main.js
# cp ./dist/mp/pages/main/index.json ./dist/mp/pages/pkg_detail/main.json
# cp ./dist/mp/pages/main/index.wxml ./dist/mp/pages/pkg_detail/main.wxml
# cp ./dist/mp/pages/main/index.wxss ./dist/mp/pages/pkg_detail/main.wxss
